package com.example.backupgeo.service;

import com.example.backupgeo.entity.Teacher;
import com.example.backupgeo.util.ResultVO;

public interface TeacherService {

    /**
     * 查询所有教师
     */
    public ResultVO findAll();

    /**
     * 通过id查询教师信息
     */
    public ResultVO queryTeacherInfoById(String id);

    /**
     * 添加教师
     */
    public ResultVO addTeacher(Teacher teacher);

    /**
     * 更新教师信息
     */
    public ResultVO update(Teacher teacher);

    /**
     * 注销教师信息
     */
    public ResultVO deleteTeacher(Integer id);
}
